import bge

def main():
    cont = bge.logic.getCurrentController()
    owner = cont.owner
    
    owner.localPosition.x += 0.1
    owner.applyRotation([0,0,.1])
    
main()